import http from '@/utils/http'


export function getOrderAPI(sellerId) {
  return http({
    url: `/order/api/order_seller/get_order_list/${sellerId}`,
    method: 'get'
  })
}

// 发货
export function shipmentOrder(data) {
  return http({
    url: `/order/api/order_seller/shipment_order`,
    method: 'POST',
    data
  })
}

// 退款
export function refundOrder(orderId) {
  return http({
    url: `/order/api/order_seller/refund_order/${orderId}`,
    method: 'post',
  })
}






